package com.heiye.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

import java.io.Serializable;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("stu_info_table")
public class StudentInfo implements Serializable {
    @TableId(value = "id",type = IdType.AUTO)
    private int id; //学生表主键id
    @TableField(value = "stu_id")
    private String stuId;   //学生学号
    @TableField(value = "stu_name")
    private String stuName; //学生姓名
    @TableField(value = "stu_sex")
    private String stuSex;  //学生性别
    @TableField(value = "stu_college_id")
    private int stuCollegeId;
    @TableField(value = "stu_major_id")
    private int stuMajorId; //学生专业id
    @TableField(value = "stu_enrol_time")
    private Date stuEnrolTime;  //学生入学时间
    @TableField(value = "stu_phone")
    private String stuPhone;
    @TableField(value = "stu_qq")
    private String stuQQ;
    @TableField(value = "stu_wechat")
    private String stuWechat;
    @TableField("stu_photo")
    private String stu_photo;
    @TableField("stu_password")
    private String stuPassword;
}
